﻿<%@ Control Language="c#"  AutoEventWireup="false" Inherits="Web.Control.Member.User.Register" %>
<input type="hidden" name="Flag" value="<%=Flag%>" id="Flag" />
<input type="hidden" name="timezone" id="timezone" value="0" />
<input id="re_ra"  name="re_ra" type="hidden" value="0" />
<div class="common">
	<div class="topmenu_op">
		<div style="text-align:left; margin:10px 0px 10px 0px">
			<div style="float:left; width:208px"><a href="/" ><img src="/Images/newLogow.gif" border="0" alt="Edit" /></a></div>
			<div style="float:right; width:550px; text-align:right"></div>
			<div class="clear"></div>
		</div>
	</div>
	<div class="topmenu_text">
		<div class="topmenu_text_site">
			<ul id="nav_manu">
				<li class="menu_left"><a href="/"><%=GetText("M0001")%></a> | <%=GetText("UR017")%></li>
				<li class="menu_right"><%=GetText("C0084")%> <a href="/user/login.htm"><%=GetText("C0071")%></a></li>
			</ul>
			<div class="clear"></div>
		</div>
	</div>
	<div id="new_body">
		<div id="body_900">
				<div class="submenu3"></div>
			<div id="body_left"></div>
			<div id="body_main">
				<div id="MessagesBox" style="display:none">
					<div class="MessagePanel4">
					<img id="MessageImg" src="/images/ico_info.gif" style="border-width: 0px;">
						<div id="MessageText"></div>
					</div>
				</div>
				<%if (us == null){ %>
				<div class="Title">
					<h1><%=GetText("UR020")%></h1>
					<div class="signup_line"><%=GetText("UR021")%> <br /><%=GetText("C0084")%> <a href="/user/login.htm"><%=GetText("C0071")%></a>. <%=GetText("UR004")%> <a href="/user/getmypassword.htm"><%=GetText("UR031")%></a>.</div>
				</div>
				<%}else{ %>
				<div class="margin20 layer_contentD"><div class="floatl wid65"><a href="<%=WWWHost %>/<%=memberno %>.htm"><img src='<%=us.Avatar==""?"/Images/No_pic.gif":us.Avatar %>' width="50" height="50" border="0" align="absmiddle" /></a></div><div class="floatl"><%=GetText("UR090",new string[]{"<span class='pink12'>"+us.Nickname+"</span>"})%></div><div class="clear"></div></div>
				<%} %>
				<div class="Center9001n">
					<div class="center9001right">
						<div class="Center9001Content">
							<div class="login_area">
								<!--Stand content start-->
								<div class="content628">
									<ul class="formlist">
										<li>
											<div class="itemU"><%=GetText("C0004")%></div>
											<div class="opU"><select id="MotherTongue" class="select allhalf" name="MotherTongue"><option value="" selected="selected"><%=GetText("C0061")%>...</option><%=GetLanguageSelect(Request["MotherTongue"] == null ? "" : Request["MotherTongue"])%></select><span name="__V_S" vt="0" elt1="MotherTongue" reg=".{1,50}" style="color: Red;display:none" class="validMsg"><%=GetText("UR022")%></span></div><div class="clear"></div>
										</li>
										<li>
											<div class="itemU"><%=GetText("C0002")%></div>
											<div class="opU"><select id="Country" name="Country" class="select allhalf"><option value="" selected="selected"><%=GetText("C0061")%>...</option><%=GetCountrySelect(Request["Country"] == null ? "" : Request["Country"])%></select><span name="__V_S" vt="0" elt1="Country" reg=".{1,50}" style="color: Red;display:none" class="validMsg"><%=GetText("UR027")%></span></div><div class="clear"></div>
										</li>
										<li>
											<div class="itemU"><%=GetText("C0097")%></div>
											<div class="opU"><label><input type="text"id="MemberCrtNo" name="MemberCrtNo"  class="text allhalf" onfocus="show('sMemberCrtNo')" onblur="conceal('sMemberCrtNo')" value="<%=Emailname%>"  /></label><img style="display:none" align="absmiddle" id="imgemail" src="/Images/loading.gif" /> <span style="display:none" id="sMemberCrtNo" class="grey12"><%=GetText("UR030")%></span> <span id="RMemberCrtNo" style="color: Red;display:none"><br /><%=GetText("C1014")%></span></div><div class="clear"></div>
										</li>
										<li>
											<div class="itemU"><%=GetText("C0096")%></div>
											<div class="opU"><label><input type="password" id="Password" name="Password"  class="text allhalf" maxlength="20" onfocus="show('sPassword')" onblur="conceal('sPassword')"/></label><img style="display:none" align="absmiddle" id="iPassword" src="/Images/loading.gif" /><span id="sPassword" style="display:none" class="grey12"><%=GetText("UR034")%></span><span id="RPassword"  style="color: Red;display:none" class="validMsg"></br><%=GetText("ST155",new string[]{"6","20"})%></span></div><div class="clear"></div>
										</li>
										<li>
											<div class="itemU"><%=GetText("ST049")%></div>
											<div class="opU"><label><input type="text" id="NickName" name="NickName"  class="text allhalf" onfocus="show('sNickName')" onblur="conceal('sNickName')" value="<%=(Request["NickName"] == null ? "" : Request["NickName"]) %>" /></label><img style="display:none" align="absmiddle" id="iNickName" src="/Images/loading.gif" />  <span class="grey12" id="sNickName" style="display:none"><%=GetText("UR041")%></span><span id="RNickName"  style="color: Red;display:none" class="validMsg"><br /><%=GetText("C1016")%></span></div><div class="clear"></div>
										</li>
										<li>
											<div class="itemU">&nbsp;</div>
											<div class="opU"><a href="#" onclick="SaveReg()" style="text-decoration:none;width:150px" class="regbtn"><span><%=GetText("C0045")%></span></a></div>
											<div class="clear"></div>
										</li>
									</ul>
								</div>
							</div>
						</div>		
					</div>	
					<div class="center9001left">&nbsp;</div>
					<div class="clear"></div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>
<script>
var re_dt=new Date();
var Emailrepeat="<%=GetText("UR018")%>";
var Codeerror="<%=GetText("UR019")%>";
var error="<%=GetText("UR039")%>";
var Busy="<%=GetText("C1006")%>";
var MessageImageF = "/images/ico_info.gif"; 
var UR018="<%=GetText("UR018") %>";
var C1014='<br /><%=GetText("C1014")%>';
var UR042="<br /><%=GetText("UR042") %>";
var C1016="<br /><%=GetText("C1016") %>";
onsucc1('<%=regsave%>');
</script>